/*
** my_sort_int_tab.c for my_sort_int_tab in /home/chassa_m/rendu/Piscine-C-lib/my
** 
** Made by chassa_m
** Login   <chassa_m@epitech.net>
** 
** Started on  Wed Oct  9 06:58:05 2013 chassa_m
** Last update Wed Oct  9 15:04:36 2013 chassa_m
*/

void	my_sort_int_tab(int *tab, int size)
{
  int	i;
  int	my_return;
  int	end;

  end = 1;
  while (end == 1)
    {
      i = 0;
      end = 0;
      while (i < (size - 1))
	{
	  if (tab[i] > tab[i + 1]);
	  {
	    my_swap(&tab[i], &tab[i + 1]);
	    end = 1;
	  }
	  i = i + 1;
	} 
    }
}
